package com.owc.domain.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author xiaom
 * @Date 2020/2/26 17:36
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("订单详情DTO")
public class OrderDetailDTO implements Serializable {

    @ApiModelProperty("产品名称")
    private String productName;

    @ApiModelProperty("订单号")
    private String orderId;

    @ApiModelProperty("购买时间")
    private String buyTime;

    @ApiModelProperty("赎回状态")
    private Integer status;

    @ApiModelProperty("投资总额")
    private BigDecimal amount;

    @ApiModelProperty("投资期限")
    private Integer cycle;

    @ApiModelProperty("投资期限单位 10(天) 20(年)")
    private Integer cycleType;

    @ApiModelProperty("可以赎回剩余天数")
    private Long canRecycle;

    @ApiModelProperty("赎回时间")
    private String redeemTime;

    @ApiModelProperty("投资币种名称")
    private String tokenName;

}
